<oc-dialog  style="width:20rem;height:11rem;"
            oc-dialog-title="动作窗口"
            oc-dialog-icon="action"
            oc-dialog-switch="MS">
	<div class="grid" ng-controller="action">
		<label style="top:1rem;left:0.3rem;" for="action-object">目标：</label>
		<button class="search" style="top:2.2rem;
				left:0.3rem;width:1.1rem;height:1.1rem;" ng-click="capture()"></button>
		<input type="text" style="top:2.2rem;right:0.3rem;width:18rem;" ng-model="object" id="action-object">
        <label style="top:4rem;left:0.3rem;" for="action-action">动作：</label>
		<select style="top:5.2rem;left:0.3rem;width:7rem;" name="actionSelect"
            ng-model="action" ng-options="item.select as item.label for item in actionList" id="action-action">
		</select>
		<label style="top:4rem;left:7.7rem;" for="action-param-type">参数类型：</label>
		<select style="top:5.2rem;left:7.7rem;width:5rem;" ng-disabled="action !== 'input'"
            ng-model="paramType" ng-options="item.select as item.label for item in paramTypeList"
			id="action-param-type"></select>
		<label style="top:4rem;left:13rem;" for="action-param">参数：</label>
		<input type="text" style="top:5.2rem;right:0.3rem;width:6.6rem;" ng-disabled="action !== 'input'"
			ng-model="param" id="action-param" ng-show="paramType != 1">
		<select style="top:5.2rem;right:0.3rem;width:6.6rem;" ng-disabled="action !== 'input'"
            ng-model="param" id="action-param" ng-show="paramType == 1"
			ng-options="item.name as item.name for item in fieldList"></select>
		<button class="text-but" style="right:5.1rem;bottom:0.3rem;height:1.4rem;width:4.3rem;" ng-click="ok()">确定</button>
		<button class="text-but" style="right:0.3rem;bottom:0.3rem;height:1.4rem;width:4.3rem;" oc-dialog-close>取消</button>
	</div>
</oc-dialog>
